//package cn.geminis.web.data;
//
//import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
//import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
//import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
//import org.springframework.cloud.openfeign.support.PageJacksonModule;
//import org.springframework.cloud.openfeign.support.SortJacksonModule;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.data.domain.Page;
//import org.springframework.data.domain.Sort;
//
///**
// * @author puddi
// */
//@Configuration(proxyBeanMethods = false)
//@ConditionalOnClass({Module.class, Page.class, Sort.class, PageJacksonModule.class, SortJacksonModule.class})
//@ConditionalOnProperty(value = "feign.autoconfiguration.jackson.enabled", havingValue = "true")
//public class FeignJacksonConfiguration {
//    @Bean
//    @ConditionalOnMissingBean(PageJacksonModule.class)
//    public PageJacksonModule pageJacksonModule() {
//        return new PageJacksonModule();
//    }
//
//    @Bean
//    @ConditionalOnMissingBean(SortJacksonModule.class)
//    public SortJacksonModule sortModule() {
//        return new SortJacksonModule();
//    }
//}
